package com.afterStartup;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author: cxt
 * @time: 2022/8/23
 * 启动之后第5位执行
 */
@Component
public class MyCommandLineRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {
        System.out.println("启动之后执行：实现了CommandLineRunner接口");
    }
}
